<p>这是一个双向数据绑定</p>
<div>
  <input [(ngModel)]="username" (ngModelChange)="change()"
    type="text"
    placeholder="请输入用户名">
  <p>{{username}}</p>
  <p>{{username| uppercase}}</p>

  <input type="password" placeholder="请输入密码" [(ngModel)]="pwd"
    (ngModelChange)="verify()" />
  <div *ngIf="showMsg">{{message}}</div>
  <div appMyDirective01>xuyaoqiangdiao</div>
  <div>xuyaoqiangdiao</div>
  <div appMyDirective01>xuyaoqiangdiao</div>
</div>